<template>
    <!-- pages/adetail/adetail.wxml -->
    <view>
        <text class="title">求职</text>
        <view class="all">
            <view class="container">
                <text class="name_com">个人介绍：</text>
                <view class="mrinfo" style="text-indent: 2em">{{ askForJob.self_intro }}</view>
                <text class="name_com">专业：{{ askForJob.major }}</text>
                <text class="name_com">年级：{{ askForJob.Grade }}</text>
                <text class="name_com">实习经验：</text>
                <view class="mrinfo" style="text-indent: 2em">{{ askForJob.experience }}h/day</view>
                <text class="name_com">职位需求:</text>
                <view class="mrinfo" style="text-indent: 2em">{{ askForJob.job_require }}</view>
                <text class="name_com">职位:{{ askForJob.job }}</text>
                <text class="name_com">公司:{{ askForJob.company }}</text>
                <text class="name_com">时间:{{ askForJob.time }}</text>
                <text class="name_com">薪资要求:{{ askForJob.salare_re }}</text>
                <text class="name_com">更多:</text>
                <view class="mrinfo" style="text-indent: 2em">{{ askForJob.more }}</view>
            </view>
        </view>
    </view>
</template>

<script>
// pages/adetail/adetail.js
import { askForJob } from '../../data/data';
export default {
    data() {
        return {
            askForJob: {
                self_intro: '',
                major: '',
                Grade: '',
                experience: '',
                job_require: '',
                job: '',
                company: '',
                time: '',
                salare_re: '',
                more: ''
            }
        };
    }
    /**
     * 生命周期函数--监听页面加载
     */,
    onLoad: function (options) {
        this.setData({
            askForJob
        });
        console.log(askForJob);
    },
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {},
    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {},
    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {},
    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {},
    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {},
    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {},
    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {},
    methods: {}
};
</script>
<style>
/* pages/adetail/adetail.wxss */
.title {
    font-size: 32rpx;
    margin-left: 32rpx;
    margin-top: 20rpx;
    margin-bottom: 4rpx;
    font-weight: 600;
}
.all {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 上下边线 */
    border-top: 4rpx solid #000000;
    border-left: 4rpx solid #000000;
    border-bottom: 4rpx solid #000000;
    border-right: 4rpx solid #000000;
    padding-top: 10rpx;
    padding-bottom: 10rpx;
    width: 660rpx;
    height: 1100rpx;
    margin-top: 20rpx;
    align-items: left;
}
.name_com {
    font-size: 32rpx;
    margin-left: 20rpx;
    font-weight: 1000;
}
.morerow {
    display: flex;
    flex-direction: column;
    margin-bottom: 20rpx;
}
.mrinfo {
    margin-left: 20rpx;
}
</style>
